<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>

    <style>
        .act{
            background-color: lightyellow;
        }
        .fo-love{
            font-size: 22px;
            color: green;
        }
    </style>
</head>
<body>
    <!--show 只是修改样式，不会重构dom结构-->
    <div id="app">
       <ul>
           <li v-for="(n,i) in name">{{i +1}}{{n}}</li>
       </ul>
    </div>

</body>
    <script>
        var  app = new Vue({
            el:'#app',
            data:{
               name:[
                   '嘿嘿',
                   '哈哈',
                   '嘻嘻'
               ]
            }


        })
    </script>
</html>